package com.farm.template.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;
/* *
 *功能：模板文件类
 *详细：
 *
 *版本：v2.1
 *作者：FarmCode代码工程
 *日期：20150707114057
 *说明：
 */
@Entity(name = "TemplateFile")
@Table(name = "cbtg_template_file")
public class TemplateFile implements java.io.Serializable {
        private static final long serialVersionUID = 1L;

        @Id
        @GenericGenerator(name = "systemUUID", strategy = "uuid")
        @GeneratedValue(generator = "systemUUID")
        @Column(name = "ID", length = 32, insertable = true, updatable = true, nullable = false)
        private String id;
        @Column(name = "DIRID", length = 32, nullable = false)
        private String dirid;
        @Column(name = "TEMPLATEID", length = 32, nullable = false)
        private String templateid;
        @Column(name = "TEXT", length = 2147483647, nullable = false)
        private String text;
        @Column(name = "FILENAME", length = 512, nullable = false)
        private String filename;
        @Column(name = "PCONTENT", length = 128)
        private String pcontent;
        @Column(name = "PSTATE", length = 2, nullable = false)
        private String pstate;
        @Column(name = "CTIME", length = 16, nullable = false)
        private String ctime;
        @Column(name = "EUSER", length = 32, nullable = false)
        private String euser;
        @Column(name = "CUSER", length = 32, nullable = false)
        private String cuser;
        @Column(name = "ETIME", length = 16, nullable = false)
        private String etime;

        public String  getDirid() {
          return this.dirid;
        }
        public void setDirid(String dirid) {
          this.dirid = dirid;
        }
        public String  getTemplateid() {
          return this.templateid;
        }
        public void setTemplateid(String templateid) {
          this.templateid = templateid;
        }
        public  String getText() {
          return this.text;
        }
        public void setText(String text) {
          this.text = text;
        }
        public String  getFilename() {
          return this.filename;
        }
        public void setFilename(String filename) {
          this.filename = filename;
        }
        public String  getPcontent() {
          return this.pcontent;
        }
        public void setPcontent(String pcontent) {
          this.pcontent = pcontent;
        }
        public String  getPstate() {
          return this.pstate;
        }
        public void setPstate(String pstate) {
          this.pstate = pstate;
        }
        public String  getCtime() {
          return this.ctime;
        }
        public void setCtime(String ctime) {
          this.ctime = ctime;
        }
        public String  getEuser() {
          return this.euser;
        }
        public void setEuser(String euser) {
          this.euser = euser;
        }
        public String  getCuser() {
          return this.cuser;
        }
        public void setCuser(String cuser) {
          this.cuser = cuser;
        }
        public String  getEtime() {
          return this.etime;
        }
        public void setEtime(String etime) {
          this.etime = etime;
        }
        public String  getId() {
          return this.id;
        }
        public void setId(String id) {
          this.id = id;
        }
}